package cn.diancan.model.types;


public final class AuthorityByDycType{
    
    /** 公开 */
    public final static int PUBLIC = 1;
    /** 仅好友可见 */
    public final static int ONLYFRIEND = 2;
    
    public final static boolean checkExists(Integer type){
        if(null== type){
    		return false;
        }
        if(type.equals(PUBLIC) || type.equals(ONLYFRIEND)){
    		return true;
        }
        return false; 
    } 
}